package www.ld.com.converter;

import org.springframework.core.convert.converter.Converter;
import org.springframework.stereotype.Component;

@Component
public class LongTOLongConverter implements Converter<Long,Long> {
    @Override
    public Long convert(Long source) {
        return 0==source?null:source;
    }
}
